Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3145 Add IP Address Data Type #3175

Merged
merged 26 commits into from
Dec 19, 2024

Conversation

currantw
Copy link
Contributor

@currantw currantw commented Nov 29, 2024

Signed-off-by: currantw [email protected]

Description

#3145 Add IP Address Data Type

Related Issues

Resolves #3145
#3036

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

YANG-DB
YANG-DB previously approved these changes Dec 6, 2024
@YANG-DB
Copy link
Member

YANG-DB commented Dec 6, 2024

@currantw can we test an IP range query as well?
With operations such as < and in range

@currantw currantw closed this Dec 10, 2024
@currantw currantw reopened this Dec 10, 2024
@currantw
Copy link
Contributor Author

Woops! Didn't mean to close this... 😬

@YANG-DB
Copy link
Member

YANG-DB commented Dec 10, 2024

@currantw can u plz resolve conflicts ?

Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
Signed-off-by: currantw <[email protected]>
@currantw currantw force-pushed the opensearch-sql-3145 branch from e8b3d96 to 6355b2d Compare December 18, 2024 02:07
Signed-off-by: currantw <[email protected]>
Copy link
Member

@YANG-DB YANG-DB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currantw can you plz also add test with > , < where clause operators ?

@@ -405,7 +405,7 @@ Sample test class:
Doctest
>>>>>>>

Python doctest library makes our document executable which keeps it up-to-date to source code. The doc generator aforementioned served as scaffolding and generated many docs in short time. Now the examples inside is changed to doctest gradually. For more details please read `Doctest <./dev/Doctest.md>`_.
Python doctest library makes our document executable which keeps it up-to-date to source code. The doc generator aforementioned served as scaffolding and generated many docs in short time. Now the examples inside is changed to doctest gradually. For more details please read `testing-doctest <./docs/dev/testing-doctest.md>`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currantw just making sure - why was changed ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed while reading through this that Doctest.md no longer exists, so corrected the link.

…nd weblogs test index to make plural for consistency.

Signed-off-by: currantw <[email protected]>
Copy link
Collaborator

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@currantw
Copy link
Contributor Author

@currantw can you plz also add test with > , < where clause operators ?

Good call. Added new test class IPComparisonIT, which has integration tests for all the comparison operators (i.e. =, !=, <, <=, >, and >=. )

Copy link
Member

@YANG-DB YANG-DB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currantw LGTM !
thanks

@YANG-DB YANG-DB merged commit 3430deb into opensearch-project:main Dec 19, 2024
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Support for IP Data Type
3 participants